package com.zb.task;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * Created by Administrator on 2019/7/10.
 */
@Component
public class QuartzJob {
    @Scheduled(cron="* 46 10 * * ?")
    public void sendMessage(){
        System.out.print("发短信");
    }
}

